﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BarcodeProductManagement.Models
{
    public enum Roles
    {
        系统管理员 = 0,
        总经理 = 1,
        采购员 = 2,
        库管员 = 3,
        供货商 = 4,
        物料员 = 5,
        组装员组长 = 6,
        组装员 = 7,
        未验证用户 = 8
    }

    public class User
    {
        public string UserID
        {
            get;
            set;
        }

        public string Barcode
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

        public string RealName
        {
            get;
            set;
        }

        public Roles Role
        {
            get;
            set;
        }
    }
}